Assessment of sleep quality